<div class="animated fadeInRight ecommerce">
    <div class="row">
        <div class="col-md-2 padding-r-0">
            <div class=" border-radius ">
                <div class="margin-xs-r  treeview attendance-staff">
                    <ul class="list-group text-center border-radius">
                        <li class="list-group-item node-orgTree "
                            v-for="(item,index) in carBlackWhiteManageInfo.blackWhites"
                            :key="index" @click="swatchBlackWhiteType(item)"
                            :class="{'vc-node-selected':carBlackWhiteManageInfo.conditions.blackWhite == item.statusCd}">
                            {{item.name}}
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-md-10">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox ">
                        <div class="ibox-title">
                            <h5>
                                <span><vc:i18n name="查询条件" namespace="carBlackWhiteManage"></vc:i18n></span>
                            </h5>
                            <div class="ibox-tools" style="top:10px;"></div>
                        </div>
                        <div class="ibox-content">
                            <div class="row">
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <input type="text" :placeholder="vc.i18n('请输入名单ID','carBlackWhiteManage')"
                                               v-model="carBlackWhiteManageInfo.conditions.bwId" class=" form-control">
                                    </div>
                                </div>
                                <div class="col-sm-4">
                                    <div class="form-group">
                                        <input type="text" :placeholder="vc.i18n('请输入车牌号','carBlackWhiteManage')"
                                               v-model="carBlackWhiteManageInfo.conditions.carNum"
                                               class=" form-control">
                                    </div>
                                </div>
                                <div class="col-sm-2">
                                    <button type="button" class="btn btn-primary btn-sm"
                                            v-on:click="_queryCarBlackWhiteMethod()">
                                        <i class="fa fa-search"></i>
                                        <span><vc:i18n name="查询" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </button>
                                    <button type="button" class="btn btn-primary btn-sm"
                                            v-on:click="_resetCarBlackWhiteMethod()">
                                        <i class="fa fa-repeat"></i>
                                        <span><vc:i18n name="重置" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox">
                        <div class="ibox-title">
                            <h5>
                                <span v-if="carBlackWhiteManageInfo.conditions.blackWhite == '2222'">
                                    <vc:i18n name="白名单车辆" namespace="carBlackWhiteManage"></vc:i18n>
                                </span>
                                <span v-else>
                                    <vc:i18n name="黑名单车辆" namespace="carBlackWhiteManage"></vc:i18n>
                                </span>
                            </h5>
                            <div class="ibox-tools" style="top:10px;">
                                <button type="button" class="btn btn-primary btn-sm"
                                        v-on:click="vc.showMarkdown('/pages/property/carBlackWhiteManage')">
                                    <i class="fa fa-file"></i>
                                    <span><vc:i18n name="文档"></vc:i18n></span>
                                </button>
                                <button type="button" class="btn btn-primary btn-sm"
                                        v-on:click="_openAddCarBlackWhiteModal()">
                                    <i class="fa fa-plus"></i>
                                    <span><vc:i18n name="添加" namespace="carBlackWhiteManage"></vc:i18n></span>
                                </button>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                                <thead>
                                <tr>
                                    <th class="text-center">
                                        <span><vc:i18n name="名单" namespace="carBlackWhiteManage"></vc:i18n></span>ID
                                    </th>
                                    <th class="text-center">
                                        <span><vc:i18n name="名单类型" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </th>
                                    <th class="text-center">
                                        <span><vc:i18n name="停车场" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </th>
                                    <th class="text-center">
                                        <span><vc:i18n name="车牌号" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </th>
                                    <th class="text-center">
                                        <span><vc:i18n name="开始时间" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </th>
                                    <th class="text-center">
                                        <span><vc:i18n name="结束时间" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </th>
                                    <th class="text-center">
                                        <span><vc:i18n name="操作" namespace="carBlackWhiteManage"></vc:i18n></span>
                                    </th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr v-for="carBlackWhite in carBlackWhiteManageInfo.carBlackWhites">
                                    <td class="text-center">{{carBlackWhite.bwId}}</td>
                                    <td class="text-center">{{carBlackWhite.blackWhiteName}}</td>
                                    <td class="text-center">{{carBlackWhite.paNum}}</td>
                                    <td class="text-center">{{carBlackWhite.carNum}}</td>
                                    <td class="text-center">{{carBlackWhite.startTime}}</td>
                                    <td class="text-center">{{carBlackWhite.endTime}}</td>
                                    <td class="text-center">
                                        <div class="btn-group">
                                            <button class="btn-white btn btn-xs"
                                                    v-on:click="_openEditCarBlackWhiteModel(carBlackWhite)">
                                                <span>
                                                    <vc:i18n name="修改" namespace="carBlackWhiteManage"></vc:i18n>
                                                </span>
                                            </button>
                                        </div>
                                        <div class="btn-group">
                                            <button class="btn-white btn btn-xs"
                                                    v-on:click="_openDeleteCarBlackWhiteModel(carBlackWhite)">
                                                <span>
                                                    <vc:i18n name="删除" namespace="carBlackWhiteManage"></vc:i18n>
                                                </span>
                                            </button>
                                        </div>
                                    </td>
                                </tr>
                                </tbody>
                                <tfoot>
                                <tr>
                                    <td colspan="7">
                                        <ul class="pagination float-right"></ul>
                                    </td>
                                </tr>
                                </tfoot>
                            </table>
                            <!-- 分页 -->
                            <vc:create path="frame/pagination"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="property/addCarBlackWhite" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editCarBlackWhite"></vc:create>
    <vc:create path="property/deleteCarBlackWhite"></vc:create>
</div>